<?php
function p($var){

	//echo "<pre>";

	//print_r($var);

	//echo "</pre>";

	//exit;

}
function phiz_replace($content){

	$phiz = array(

		"[抓狂]" => '<img src="/thinkphp/t/Public/Images/phiz/zhuakuang.gif" />',

		"[抱抱]" => '<img src="/thinkphp/t/Public/Images/phiz/baobao.gif" />',

		"[害羞]" => '<img src="/thinkphp/t/Public/Images/phiz/haixiu.gif" />',

		"[酷]"   => '<img src="/thinkphp/t/Public/Images/phiz/ku.gif" />',

		"[嘻嘻]" => '<img src="/thinkphp/t/Public/Images/phiz/xixi.gif" />',

		"[太开心]" => '<img src="/thinkphp/t/Public/Images/phiz/taikaixin.gif" />',

		"[偷笑]" => '<img src="/thinkphp/t/Public/Images/phiz/touxiao.gif" />',

		"[钱]" => '<img src="/thinkphp/t/Public/Images/phiz/qian.gif" />',

		"[花心]" => '<img src="/thinkphp/t/Public/Images/phiz/huaxin.gif" />',
            
                "[挤眼]" => '<img src="/thinkphp/t/Public/Images/phiz/jiyan.gif" />',

	);

	return strtr($content,$phiz);	

}


?>
